import request from '@/utils/request'

// 查询专项检查列表
export function listTujianjiegouzhuanxiangjiancha(query) {
  return request({
    url: '/biz/tujianjiegouzhuanxiangjiancha/list',
    method: 'get',
    params: query
  })
}

// 查询专项检查详细
export function getTujianjiegouzhuanxiangjiancha(id) {
  return request({
    url: '/biz/tujianjiegouzhuanxiangjiancha/' + id,
    method: 'get'
  })
}

// 新增专项检查
export function addTujianjiegouzhuanxiangjiancha(data) {
  return request({
    url: '/biz/tujianjiegouzhuanxiangjiancha',
    method: 'post',
    data: data
  })
}

// 修改专项检查
export function updateTujianjiegouzhuanxiangjiancha(data) {
  return request({
    url: '/biz/tujianjiegouzhuanxiangjiancha',
    method: 'put',
    data: data
  })
}

// 删除专项检查
export function delTujianjiegouzhuanxiangjiancha(id) {
  return request({
    url: '/biz/tujianjiegouzhuanxiangjiancha/' + id,
    method: 'delete'
  })
}

// 导出专项检查
export function exportTujianjiegouzhuanxiangjiancha(query) {
  return request({
    url: '/biz/tujianjiegouzhuanxiangjiancha/export',
    method: 'get',
    params: query
  })
}